e7b8e16dfab722e407a88e9123023eb41679615d,maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java,PerformReleaseMojo,runGoals,#,88

Before Change



        try
        {
            CommandLineUtils.executeCommandLine( cl, consumer, consumer );
        }
        catch ( CommandLineException e )
        {

After Change



        try
        {
            int result = CommandLineUtils.executeCommandLine( cl, consumer, consumer );
            
            if ( result != 0 )
            {
                throw new MojoExecutionException("Result of m2 execution is: \'" + result + "\'. Release failed." );
            }
        }
        catch ( CommandLineException e )